package com.xiaoshuidi.cloud.module.rooms.controller.admin.estimate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
@Schema(description = "关联房源请求对象")
public class RelatedHouseReq {

    @Schema(description = "样本列表")
    @NotNull(message = "id不能为空")
    private Long id;

    @NotNull(message = "房源id不能为空")
    @Schema(description = "房源id")
    private Long roomId;
}
